<div class="well">
    <div class="page-header">
        <h3>日志列表</h3>
    </div>
    <table class="table table-bordered panel panel-success">
        <thead class="panel-heading">
        <tr>
            <th>#</th>
            <th>名称</th>
            <th>类型</th>
            <th>时间</th>
            <th>日志</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="log in logList">
            <td>{{$index}}</td>
            <td>{{log.name}}</td>
            <td ng-class="log.type=='error'?'alert-danger':''">{{log.type}}</td>
            <td>{{log.createTime}}</td>
            <td ng-class="log.type=='error'?'alert-danger':''" ng-bind-html="log.content"
                style="max-width:280px;overflow: auto;">
                {{ log.content }}
            </td>
        </tr>
        </tbody>
    </table>
</div>